Command Palette
Search for a command to run

useChat "An error occurred" Troubleshooting

✓ Relevant

Pass `getErrorMessage` to `toUIMessageStreamResponse()` or `onError` to `createDataStreamResponse()` to unmask error details from `streamText` instead of showing generic "An error occurred".